WooCommerce\PayPalCommerce\Settings\Handler\ConnectionListener S

Total Complexity 32
Dependencies 9
Dependents 1
Total lines 289
Lines of code 106
Logical lines of code 63
Comment lines 158
Methods 15
Properties 7

Methods 15

Method Rating Maintainability Complexity Lines of code
process_oauth_token()
S
54 6 23
is_valid_request()
S
58 6 15
get_seller_type_from_request()
S
63 3 11
extract_data()
S
63 3 10
__construct()
S
68 2 7
process()
S
64 2 10
was_token_processed()
S
75 2 4
mark_token_as_processed()
S
79 1 3
redirect_after_authentication()
S
74 1 5
get_token_from_request()
S
78 1 3
get_merchant_id_from_request()
S
78 1 3
get_merchant_email_from_request()
S
78 1 3
sanitize_string()
S
79 1 3
sanitize_merchant_email()
S
78 1 3
get_onboarding_redirect_url()
S
78 1 3